import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入 组件 el-ui
import Element from 'element-ui'
import "element-ui/lib/theme-chalk/index.css"
// 引入 axios 
import axios from 'axios'

// 导入自定义 axios 规则
import "./custom_Axios.js"
import "./permission.js"

// 导入 编辑器
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'

// 全局使用 
Vue.use(Element)
Vue.use(mavonEditor)
// 设置 原型链直接调用 
Vue.prototype.$axios = axios

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
